

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Edit MsiInfo</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
            <span class="menuButton"><g:link class="list" action="list">MsiInfo List</g:link></span>
            <span class="menuButton"><g:link class="create" action="create">New MsiInfo</g:link></span>
        </div>
        <div class="body">
            <h1>Edit MsiInfo</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${msiInfoInstance}">
            <div class="errors">
                <g:renderErrors bean="${msiInfoInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form method="post" >
                <input type="hidden" name="id" value="${msiInfoInstance?.id}" />
                <input type="hidden" name="version" value="${msiInfoInstance?.version}" />
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="agentDN">Agent DN:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'agentDN','errors')}">
                                    <input type="text" maxlength="13" id="agentDN" name="agentDN" value="${fieldValue(bean:msiInfoInstance,field:'agentDN')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="agentID">Agent ID:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'agentID','errors')}">
                                    <input type="text" maxlength="3" id="agentID" name="agentID" value="${fieldValue(bean:msiInfoInstance,field:'agentID')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="userID">User ID:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'userID','errors')}">
                                    <input type="text" id="userID" name="userID" value="${fieldValue(bean:msiInfoInstance,field:'userID')}" />
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="accdnses">Accdnses:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'accdnses','errors')}">
                                    
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="actDuration">Act Duration:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'actDuration','errors')}">
                                    <input type="text" id="actDuration" name="actDuration" value="${fieldValue(bean:msiInfoInstance,field:'actDuration')}" />
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="agtAction">Agt Action:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'agtAction','errors')}">
                                    <input type="text" id="agtAction" name="agtAction" value="${fieldValue(bean:msiInfoInstance,field:'agtAction')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="companySN">Company SN:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'companySN','errors')}">
                                    <g:select optionKey="id" from="${Companysn.list()}" name="companySN.id" value="${msiInfoInstance?.companySN?.id}" ></g:select>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="domain">Domain:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'domain','errors')}">
                                    <input type="text" id="domain" name="domain" value="${fieldValue(bean:msiInfoInstance,field:'domain')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="isMonitor">Is Monitor:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'isMonitor','errors')}">
                                    <g:checkBox name="isMonitor" value="${msiInfoInstance?.isMonitor}" ></g:checkBox>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="isSilent">Is Silent:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'isSilent','errors')}">
                                    <g:checkBox name="isSilent" value="${msiInfoInstance?.isSilent}" ></g:checkBox>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="occurTime">Occur Time:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'occurTime','errors')}">
                                    <g:datePicker name="occurTime" value="${msiInfoInstance?.occurTime}" ></g:datePicker>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="password">Password:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'password','errors')}">
                                    <input type="text" id="password" name="password" value="${fieldValue(bean:msiInfoInstance,field:'password')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="skillarray">Skillarray:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'skillarray','errors')}">
                                    <input type="text" id="skillarray" name="skillarray" value="${fieldValue(bean:msiInfoInstance,field:'skillarray')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="status">Status:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'status','errors')}">
                                    <input type="text" id="status" name="status" value="${fieldValue(bean:msiInfoInstance,field:'status')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="userRealname">User Realname:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:msiInfoInstance,field:'userRealname','errors')}">
                                    <input type="text" id="userRealname" name="userRealname" value="${fieldValue(bean:msiInfoInstance,field:'userRealname')}"/>
                                </td>
                            </tr> 
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:actionSubmit class="save" value="Update" /></span>
                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
